// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
import 'lib-flexible/flexible'
import utils from './common/utils.js' //引入使用的工具类js
import iView from 'iview'; // 导入组件库  
import 'iview/dist/styles/iview.css'; // 导入样式 
import QRCode from 'qrcode';    //定义生成二维码组件
import Element from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'


Vue.use(MintUI)
Vue.use(iView)
Vue.config.productionTip = false
Vue.prototype.utils = utils
Vue.use(Element,{size:'medium'});

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
